Fast and Stable Algorithms for Computing and Sampling From the Noncentral Hypergeometric Distribution
نویسندگان
چکیده
Although the noncentral hypergeometric distribution underlies conditional inference for 2£2 tables,major statistical packages lack support for this distribution.This article introduces fast and stable algorithms for computing the noncentral hypergeometric distribution and for sampling from it. The algorithms avoid the expensive and explosive combinatorial numbers by using a recursive relation.The algorithmsalso take advantageof the sharp concentration of the distribution around its mode to save computing time. A modi ed inverse method substantially reduces the number of searches in generating a random deviate. The algorithms are implemented in a Java class, Hypergeometric, available on the World Wide Web.
منابع مشابه
Calculation Methods for Wallenius' Noncentral Hypergeometric Distribution
Two different probability distributions are both known in the literature as "the" noncentral hypergeometric distribution. Wallenius' noncentral hypergeometric distribution can be described as an urn model with bias. Fisher's noncentral hypergeometric distribution is the conditional distribution of independent binomial variates given their sum. Several different methods for calculating probabili...
متن کاملNoncentral hypergeometric distribution
Two different probability distributions are both known in the literature as "the" noncentral hypergeometric distribution. The nomenclature problems are discussed. Wallenius' noncentral hypergeometric distribution can be described as an urn model with bias. Fisher's noncentral hypergeometric distribution is the conditional distribution of independent binomial variates given their sum. Several di...
متن کاملBiased Urn Theory
Two different probability distributions are both known in the literature as “the” noncentral hypergeometric distribution. These two distributions will be called Fisher’s and Wallenius’ noncentral hypergeometric distribution, respectively. Both distributions can be associated with the classical experiment of taking colored balls at random from an urn without replacement. If the experiment is unb...
متن کاملAcceptance sampling for attributes via hypothesis testing and the hypergeometric distribution
This paper questions some aspects of attribute acceptance sampling in light of the original concepts of hypothesis testing from Neyman and Pearson (NP). Attribute acceptance sampling in industry, as developed by Dodge and Romig (DR), generally follows the international standards of ISO 2859, and similarly the Brazilian standards NBR 5425 to NBR 5427 and the United States Standards ANSI/ASQC Z1....
متن کاملSampling Methods for Wallenius' and Fisher's Noncentral Hypergeometric Distributions
Several methods for generating random variables with univariate and multivariate Wallenius' and Fisher's noncentral hypergeometric distributions are developed. Methods for the univariate distributions include: simulation of urn experiments, inversion by binary search, inversion by chop-down search from the mode, ratio-of-uniforms rejection method, and rejection by sampling in the t domain. Meth...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2005